#and
# age = 18
# # if 0 < age < 18:
# if age > 0 and age < 1000:
#     print("输入正确")
# else:
#     print("输入错误")

#or
#1.定义变量
python_score = 80
c_score = 30
if python_score >= 60 or c_score >= 60:
    print("成绩合格")

#not
age = 17
if not (age < 18):
    print("已成年")
else:
    print("未成年")

# not 构成条件
# 定义变量(True表示本公司员工)
# 定义变量
employer = True # 假设已经固定值
# if not employer:
if not (employer is False):
    print("本公司员工")
else:
    print("非本公司员工")